package www.openteam.com.bean;

/**
 * Created by Administrator on 2019-11-18.
 */

public class LoadListDeliverNote {
    private int zbid;
    private String sendNo;//送货单号
    private String custid;//客户编号
    private String sendAddress;//送货地址
    private String boxNumb;//每箱数量
    private String boxPackages;//箱数

    public LoadListDeliverNote() {
    }

    public int getZbid() {
        return zbid;
    }

    public void setZbid(int zbid) {
        this.zbid = zbid;
    }

    public String getSendNo() {
        return sendNo;
    }

    public void setSendNo(String sendNo) {
        this.sendNo = sendNo;
    }

    public String getCustid() {
        return custid;
    }

    public void setCustid(String custid) {
        this.custid = custid;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getBoxNumb() {
        return boxNumb;
    }

    public void setBoxNumb(String boxNumb) {
        this.boxNumb = boxNumb;
    }

    public String getBoxPackages() {
        return boxPackages;
    }

    public void setBoxPackages(String boxPackages) {
        this.boxPackages = boxPackages;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        LoadListDeliverNote that = (LoadListDeliverNote) o;

        if (zbid != that.zbid) return false;
        if (sendNo != null ? !sendNo.equals(that.sendNo) : that.sendNo != null) return false;
        if (custid != null ? !custid.equals(that.custid) : that.custid != null) return false;
        if (sendAddress != null ? !sendAddress.equals(that.sendAddress) : that.sendAddress != null)
            return false;
        if (boxNumb != null ? !boxNumb.equals(that.boxNumb) : that.boxNumb != null) return false;
        return boxPackages != null ? boxPackages.equals(that.boxPackages) : that.boxPackages == null;
    }

    @Override
    public int hashCode() {
        int result = zbid;
        result = 31 * result + (sendNo != null ? sendNo.hashCode() : 0);
        result = 31 * result + (custid != null ? custid.hashCode() : 0);
        result = 31 * result + (sendAddress != null ? sendAddress.hashCode() : 0);
        result = 31 * result + (boxNumb != null ? boxNumb.hashCode() : 0);
        result = 31 * result + (boxPackages != null ? boxPackages.hashCode() : 0);
        return result;
    }
}
